* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 20px;
}


h1,
h2,
h3,
a,
nav,
button {
    font-family: "Julius Sans One", Sans-Serif;
    font-weight: lighter;
    text-transform: capitalize;
   }

h1 {
    font-size: 1.9rem;
}

h2 {
    font-size: 1.5rem;
}
h3 {
    font-size: 1.5rem;
}

p {
    font-family: Montserrat, Sans-Serif;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: #3f565f;
}

a:hover {
    color:#31ABF3;
    transition: 0.5s;
    cursor: pointer;
}

.blue {
    color: #31ABF3;
}

.gray {
    color: #3f565f;
}

.center {
    text-align: center;
}

nav {
    position: fixed;
    z-index: 9;
    width: 100%;
    max-height: 6.5rem;
    background-image: linear-gradient(to bottom, #ffffff, #ffffff, #ffffff99);
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: space-around;
    text-align: center;
    line-height: 1.5;
    border-bottom: 1px solid #3f565f;
}

        
    .internal-links {
        background-image: linear-gradient(to bottom, #ffffff, #ffffff);
        z-index: 10;
        font-size: 1.2rem;
        font-weight: 600;
        overflow: visible;
        display: inline-flex;
        justify-content: space-around;
        width: 100%;
        list-style: none;
        text-decoration: none;
    }


    .strap-line {
        width: 100%;
        overflow: hidden;
        background-image: linear-gradient(to bottom, #ffffff95, #ffffff90);
      }

    .icon {
        width: 2rem;
        height: auto;
        Position: fixed;
        right: 2%;
        z-index: 10;
    }


#fb {
    top: 7rem;
}

#mail-icon {
    top: 10rem;
    }

#phone-icon {
    top: 13rem;
}

#sms-icon {
    top: 16rem;
    margin-right: -0.3rem;
}

   /*styling for contact button when contact form has php and JS
    .contact-btn {
        font-weight: 400;
        font-size: 0.75rem;
        width: 6rem;
        Position: fixed;
        right: 5%;
        top: 7rem;
        border-radius: 5rem;
        background-color: #31ABF390;
        color: black;
        padding: 0.25rem;
        text-align: center;
    }

    .contact-btn:hover {
        cursor: pointer;
        background-color: #ffd70090;
        color: black;
    }
*/

.heading {
    background-image: url("Splash New.png");
    background-size: 20rem;
    background-position: 80% 50%;
    background-repeat: no-repeat;
    display: inline-flex;
    flex-direction: column;
    margin: 5rem 0 0 0;
    padding: 10% 0% 10% 10%;
    width: 100%;   
    justify-items: center;
    line-height: 4rem;
    }

.title {
    background-color: #ffffff90;
    width: 60%;
    border-radius: 2rem;
    }

.hydra {
    font-size: 3rem;
}


.section {
    padding-bottom: 2rem;
    border-bottom: 1px solid #dadada;
}

.subheading {
    padding: 4rem 0 2rem 0;
    text-align: center;
    text-decoration: underline;
}

.row-images {
width: 100%;
display: inline-flex;
flex-wrap: wrap;
justify-content: space-around;
padding-bottom: 1rem;
}

.servicesimg-row {
    max-width: 15rem;
    padding: 1rem;
}

.list-cont {
    width: 100%;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: center;
    padding-bottom: 2rem;
}

.service-list {
    font-family: "montserrat", sans-serif;
    font-size: 0.8rem;
    width: 50%;
    min-width: 15rem;
    display: flex;
    flex-direction: column;
    }

.quote {
    width: 20%;
    min-width: 15rem;
    font-family: "montserrat", sans-serif;
    font-style: italic;
    font-weight: 200;
    color: grey;
    line-height: 2rem;
    font-size: 1.2rem;
    text-align: right;
    align-self: center;
    border-top: 1px dotted black;
    border-bottom: 1px dotted black;
}

.we-use {
    text-align: center;
    font-size: 1rem;
}

.about-cont {
    display: inline-flex;
    width: 100%;
    height: auto;
    flex-direction: row-reverse;
    flex-wrap: wrap;
    justify-content: center;
    align-items: space-around;
}

.about-img {
    width: 38%;
    min-width: 15rem;
    display: flex;
    align-content: center;
}

#solar-panels {
    width: 90%;
    height: auto;
}

.about-text {
    width: 50%;
    min-width: 15rem;
    line-height: 1.4rem;
    display: flex;
    flex-direction: column;
}

.about {
    width:100%;
    padding: 0 0 2.1rem 0;
    font-size: 1rem;
}

.google-reviews-cont {    
    display: flex;
    justify-content: flex-end;
    align-content: center;
    width: 76%;
    }

.google-reviews {   
    width: 100%;
    height: auto;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 5rem;
    background-color: #31ABF390;
    color: black;
    padding: 0.25rem 1rem;
    text-align: center;
}

.google-reviews:hover {
    cursor: pointer;
    background-color: #ffd70090;
    color: black;
    transition: 0.5s;
}

.footer-text {
    margin: 0 2% 0 2%;
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
    width: 96%;
    align-items: center;
}

.testimonials {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
    align-items: center;
    padding-bottom: 3rem;
}

.testimonial {
    width: 25%;
    min-width: 15rem;
    height: auto;
    font-family: "montserrat", sans-serif;
    font-style: italic;
    font-weight: 200;
    color: grey;
    line-height: 2rem;
    font-size: 1.2rem;
    text-align: center;
    vertical-align: center;
    margin-bottom: 1rem;
    border-top: 1px dotted black;
    border-bottom: 1px dotted black;
}

footer {
    width: 100%;
    background-image: linear-gradient(to bottom right, white, #93ccec);
    padding: 1rem 0 0 0;
}

.left-text {
    text-align: left;
    }

.right-text {
    text-align: right;
    line-height: 2rem;
    font-family: montserrat, sans-serif;
}

.link {
    font-family: montserrat, sans-serif;
    text-transform: lowercase;
    border-radius: 0.25rem;
}

.link:hover {
    color: #3f565f;
    background-color: white;
}


    @media only screen and (max-width: 768px) {
        html {
            font-size: 15px;
        }

        .nav-child {
            font-size: 1rem;
        }

        .serice-list {
            align-items: center;
        }

        .list-items {
            width: 90%
        }

        .about-cont {
            display: flex;
            width: 100%;
            height: auto;
            flex-direction: column-reverse;
            flex-wrap: wrap;
            justify-content: center;
            align-items: space-around;
        }
        
        .about-img {
            width: 100%;
            min-width: 15rem;
            display: flex;
            justify-content: center;
        }
        
        #solar-panels {
            width: 90%;
            height: auto;
        }
        
        .about-text {
            width: 100%;
            min-width: 15rem;
            line-height: 1.4rem;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .about {
            width: 90%;
        }
   
        .icon-container {
            width: 100%;
            background-color: #ffffff99;
        }

        .icon {
            width: 2rem;
            height: auto;
            Position: fixed;
            display: inline-block;
            top: 7rem;
            z-index: 10;
             }
       
    #fb {
        left: 17.5%;
        top: 6rem;  
    }
    
    #mail-icon {
        left: 37.5%;
        top: 6rem;
        }
    
    #phone-icon {
        left: 57.5%;
        top: 6rem;
    }
    
    #sms-icon {
        left: 77.5%;
        top: 6rem;
  }

  .testimonials {
    margin: 0 auto;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  width: 90%;
  align-items: center;
  padding-bottom: 3rem;
}

.testimonial {
  width: 90%;
  height: auto;
}
    }

    @media only screen and (max-width: 480px) {
        html {
            font-size: 12px;
        }

        .nav-child {
            font-size: 1rem;
        }
        
        .serice-list {
            align-items: center;
        }

        .list-items {
            width: 90%
        }

        .about-cont {
            display: flex;
            width: 100%;
            height: auto;
            flex-direction: column-reverse;
            flex-wrap: wrap;
            justify-content: center;
            align-items: space-around;
        }
        
        .about-img {
            width: 100%;
            min-width: 15rem;
            display: flex;
            justify-content: center;
        }
        
        #solar-panels {
            width: 90%;
            height: auto;
        }
        
        .about-text {
            width: 100%;
            min-width: 15rem;
            line-height: 1.4rem;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .about {
            width: 90%;
        }

   
        .icon-container {
            width: 100%;
            background-color: #ffffff99;
        }

        .icon {
            width: 2rem;
            height: auto;
            Position: fixed;
            display: inline-block;
            top: 7rem;
            z-index: 10;
        }
       
    #fb {
        left: 17.5%;
        top: 6rem;  
    }
    
    #mail-icon {
        left: 37.5%;
        top: 6rem;
        }
    
    #phone-icon {
        left: 57.5%;
        top: 6rem;
    }
    
    #sms-icon {
        left: 77.5%;
        top: 6rem;
  }

  .testimonials {
      margin: 0 auto;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    align-items: center;
    padding-bottom: 3rem;
}

.testimonial {
    width: 90%;
    height: auto;
}
    }

    /*styling from here down applies to contact form element found on contact.html*/
/*
    .contact-background {
        background-image: url("Splash New.png");
        background-size: 20rem;
        background-position: 85% 80%;
        background-repeat: no-repeat;
        z-index: -1;
        padding-top: 8rem;
     }


    .form {
        font-family: "montserrat", sans-serif;
        width: 40%;
        min-width:22rem;
        background-color: #ffffff99;
        padding: 1rem;
        margin-left: 10%;
        display: flex;
        flex-direction: column;
        border: 1px solid #3f565f;
    }

    .contact-preference {
        display: inline-flex;
        flex-direction: row;
        justify-content: space-around;
        margin: 0 auto;
        align-items: center;
        padding: 1rem 0;
        width: 66.6%
    }

    .preference-header {
        padding-top: 1rem;
    }

    input,
    textarea {
        font-family: montserrat, sans-serif;
        }

    .submit {   
        width: 100%;
        height: auto;
        font-weight: 500;
        font-size: 1rem;
        border-radius: 5rem;
        background-color: #31ABF390;
        color: black;
        padding: 0.25rem 1rem;
        text-align: center;
    }

    .submit:hover {
        cursor: pointer;
        background-color: #ffd70090;
        color: black;
    }
    */ 